package com.elink.enginerring.video.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.elink.enginerring.common.Constant;

public class Skill {
    private Integer skillId;  //主键

    private Integer tcId;//分类主键

    private String title;//标题

    private Integer videoSize;//视频数量

    private Integer downloadCount;//下载数量

    private String labelIds;//标签集合

    private Integer dataCount;//文档数

    private String previewPath;//预览的图片路径

    private Integer commentCount;//评论数

    private Integer authStatus;//审核状态0--审核中 1--通过审核2--未通过审核

    private Integer deleteStatus;//删除状态0--未删除1--删除

    @DateTimeFormat(pattern=Constant.DATE_FORMAT_YEAR)
    private Date startTime;//开始时间
    
    @DateTimeFormat(pattern=Constant.DATE_FORMAT_YEAR)
    private Date endTime;//结束时间

    private Date createTime;//创建时间

    private Date updateTime;//更新时间

    private Date publishTime;//发布时间

    private Integer publishStatus;//发布状态 0--未发布1--发布

    private String updateUserId;//更新者用户id

    private String createUserId;//创建者用户id

    private Integer visitCount;//浏览次数

    private String introduction;//简介
    
	private int hierId;//体系Id
	
	private  int grade;//等级 ，1--初级，2--进阶

    public Integer getSkillId() {
        return skillId;
    }

    public void setSkillId(Integer skillId) {
        this.skillId = skillId;
    }

    public Integer getTcId() {
        return tcId;
    }

    public void setTcId(Integer tcId) {
        this.tcId = tcId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getVideoSize() {
        return videoSize;
    }

    public void setVideoSize(Integer videoSize) {
        this.videoSize = videoSize;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public String getLabelIds() {
        return labelIds;
    }

    public void setLabelIds(String labelIds) {
        this.labelIds = labelIds == null ? null : labelIds.trim();
    }

    public Integer getDataCount() {
        return dataCount;
    }

    public void setDataCount(Integer dataCount) {
        this.dataCount = dataCount;
    }

    public String getPreviewPath() {
        return previewPath;
    }

    public void setPreviewPath(String previewPath) {
        this.previewPath = previewPath == null ? null : previewPath.trim();
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(Integer authStatus) {
        this.authStatus = authStatus;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getPublishStatus() {
        return publishStatus;
    }

    public void setPublishStatus(Integer publishStatus) {
        this.publishStatus = publishStatus;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Integer getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(Integer visitCount) {
        this.visitCount = visitCount;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

	public int getHierId() {
		return hierId;
	}

	public void setHierId(int hierId) {
		this.hierId = hierId;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}
}